package com.campusmarket.dto;

import java.util.List;

/**
 * Created by Mankind on 2018/2/1.
 */
public class LayuiDataGridResult {
    private final static int DEFAULT=0;
    private final static int OK=200;
    private final static int FAIL=500;
    //数据状态
    private int code;
    //状态信息
    private String msg;
    //数据总数
    private long count;
    //数据列表
    private List<?> data;

    public LayuiDataGridResult() {
        this.code = LayuiDataGridResult.DEFAULT;
        this.msg="";
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }
}
